package com.xms.logging.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.UUID;

/**
 * <p>
 * 
 * </p>
 *
 * @author migo
 * @since 2021-08-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class VisitedLog extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private UUID visitedlogid = UUID.randomUUID();

    private String title;

    private String description;

    private UUID systemuserid;

    private Integer statuscode;

    private String clientip;

    private String url;

    private String urlreferrer;

    private LocalDateTime createdon = LocalDateTime.now();

    private UUID organizationid;

    private Integer loglevel;

    private Integer typecode;


}
